<div class="portlet box green">
    <div class="portlet-title">
		<div class="caption"><i class="fa fa-cogs"></i>数据列表</div>
		<div class="tools"><a href="javascript:;" class="collapse" data-original-title="" title=""> </a></div>
		<div class="actions">
			<a href="javascript:;" class="btn white btn-sm ajax-search"> <i
				class="fa fa-search"></i> 查询
			</a> <a href="javascript:;" class="btn white btn-sm search-reset"> <i
				class="fa fa-eraser"></i> 清除
			</a>
		</div>
	</div>
    <div class="portlet-body">
    	<div class="tabbable-line ">
			<ul class="nav nav-tabs ">
				<li  ><a href="userInfo/detail?id=$!id" class="ajaxify">基本信息</a></li>
				<li  class="active" ><a href="userInfo/orderDetail?id=$!id" class="ajaxify"> 订单记录</a></li>
				<li  ><a href="userInfo/creditDetail?id=$!id"  class="ajaxify"> 信用记录</a></li>
				<li  ><a href="userInfo/scoreDetail?id=$!id" class="ajaxify"> 积分记录</a></li>
				<li  ><a href="userInfo/commendfriendDetail?id=$!id" class="ajaxify"> 推荐会员</a></li>
				<li  ><a href="userInfo/expDetail?id=$!id" class="ajaxify"> 经验值记录</a></li>
				<li  ><a href="userInfo/afterSaleDetail?id=$!id" class="ajaxify"> 售后记录</a></li>
				<li ><a href="userInfo/invoiceDetail?id=$!id" class="ajaxify">开票记录</a></li>
			</ul>
			
			<div class="portlet-body form">
		 	   	<form action="userInfo/orderDetail" class="form-horizontal" method="get"  id="searchForm">
					<div class="form-body">
						<div class="row">
							<div class="form-group">
								<div class="col-md-3">
									<label class="col-md-4 control-label">订单号：</label>
									<div class="col-md-8">
								    	<input type="text" class="form-control" name="orderId" value="$!orderId" >
								    	<input type="hidden" value="$!id" name="id">
									</div>
								</div>
								<div class="col-md-3">
									<label class="col-md-4 control-label">订单金额：</label>
									<div class="col-md-8">
										<input type="text" class="form-control" name="orderMoney" value="$!orderMoney">
									</div>
								</div>
								<div class="col-md-3">
									<label class="control-label col-md-4">付款时间：</label> 
									<label class="col-md-8">
										<input class="form-control" type="text" name="startTime" id="startTime" value="$!startTime" readonly>
										<i class="fa fa-calendar" style="position: absolute;right: 10px;top: 10px"></i>
									</label>
								</div>
								<div class="col-md-3">
									<label class="control-label col-md-2">至：</label> 
									<label class="col-md-8">
										<input class="form-control" type="text" name="endTime" id="endTime" value="$!endTime" readonly>
										<i class="fa fa-calendar" style="position: absolute;right: 10px;top: 10px"></i>
									</label>
								</div>
							</div>
			    		</div>
					</div>
				</form>
			</div>
			
			<div class="tab-content">
				<div class="tab-pane active form">
                    <!-- BEGIN FORM-->
						<table class="table table-striped table-bordered table-hover" id="tableCategory">
							<thead>
								<tr>
									<th>订单号</th>
									<th>订单金额</th>
									<th>支付类型</th>
									<th>订单状态</th>
									<th>获得/扣除积分</th>
									<th>获得经验值</th>
									<th>申请售后次数</th>
									<th>售后退款金额</th>
									<th>下单时间</th>
									<th>付款时间</th>
								</tr>
							</thead>
							<tbody>
								#foreach($order in $!orderPage.result)
									<tr>
										<td>$!order.id</td>
										<td>$!order.total</td>
										<td>$!order.SettleWay.name</td>
										<td>$!order.orderState.name</td>
										<td></td>
										<td></td>
										<td></td>
										<td></td>
										<td>$!order.createDate</td>
										<td>$!order.payDate</td>
									</tr>
								#end
							</tbody>
						</table>
                    <!-- END FORM-->
				</div>
				#set($page=$!orderPage)
				#set($pageUrl="/userInfo/list?$!queryString&pageNo=")
				#parse("_page.htm")
			</div>
		</div>
    </div>
</div>
<script src="/assets/scripts/views-date.js" type="text/javascript"></script>